package com.xls.dormitoryservice.service;

import com.xls.dormitoryservice.entity.Department;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xls
 * @since 2021-03-23
 */
public interface DepartmentService extends IService<Department> {

    List<Department> departmentList();

    List<Department> majorList();

    List<Department> majorListById(String id);

    Department department(String id);

    Department major(String id);

}
